﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Daemon.Model
{
	[Table("take_away_coupon")]
	public partial class TakeAwayCoupon
	{
		[Key]
		[Column("Id")]
		[DatabaseGenerated(DatabaseGeneratedOption.Identity)]

		public int Id { get; set; }

		public string Name { get; set; }

		public decimal Value { get; set; }

		public decimal SalePrice { get; set; }

		public DateTime StartDate { get; set; }

		public DateTime EndDate { get; set; }

		public int Weight { get; set; }

		public int ShopId { get; set; }

		public bool IsUsed { get; set; }
	}
}
